#! /bin/bash

mvn clean package -Dmaven.test.skip=true
/opt2/glassfish-3.0.1/bin/asadmin deploy --force=true target/foroweb-2.0.jar
mvn  clean package -Dmaven.test.skip=true -P jar-client
/opt2/glassfish-3.0.1/glassfish/bin/appclient -client target/foroweb-2.0.jar

